*{
    -webkit-box-sizing: border-box;
            box-sizing: border-box; 
    list-style: none;
}

.trend-container{
    width: 100%;
    height: 100%;
    margin: 0px;
    min-width: 100%; 
    min-height: 100%;
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
}

.trend-aside{
    min-width: 250px;
    width: 250px;
    height: 100%;
    
    height: 98%;
}

.trend-main{
    height: 98%;
    margin: 0 35px;
    -moz-flex:1;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    background: rgba(9,29,69,0.7);
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-flex-direction:column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.trend-main-content{
    -moz-flex:1;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-flex-direction:column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.trend-main-header{
    height: 44px;
    border-bottom: 2px solid #86bdec;
    padding: 0 20px;
}

.trend-main-header span{
    display: inline-block;
    width: 100px;
    height: 100%;
    line-height: 44px;
    color: #93cdff;
    cursor: pointer;
    border:1px solid #86bdec;
    border-bottom: 2px solid transparent;
    background: #092845;
    text-align: center;
    font-size: 14px;
    position: relative;
    opacity: 0.4;
    bottom: 0;
}

.trend-main-header span.on{
    opacity: 1;
    bottom: -2px;
}

.alarm-main-query {
    height: 55px;
    color: #fff;
    margin: 0px auto;
    padding: 15px;
   
}

.alarm-main-query section{
   margin-right: 20px;
}

.query-title{
    position: relative;
    top: -8px;
}

.trend-main-section{
    -moz-flex:1;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    position: relative;
    border-top: 1px solid #86bdec;
}

:host/deep/ .ui-widget-content .ui-datatable-emptymessage{
    opacity: 0!important;
    
}

:host/deep/ .ui-paginator .ui-paginator-page.ui-state-active {
    background: #fba059;
}

:host/deep/ .ui-datatable .ui-datatable-thead>tr>th,:host/deep/ .ui-datatable .ui-datatable-tfoot>tr>td,:host/deep/ .ui-datatable .ui-datatable-data>tr>td{
    padding: 0;
    height: 30px;
    
}

.ui-datatable .ui-row-toggler {
    color: #fff;
 }

:host/deep/  .ui-datatable tbody > tr.ui-widget-content 
 ,:host/deep/  .ui-datatable thead > tr.ui-widget-content
 ,:host/deep/  .ui-datatable tfoot > tr.ui-widget-content
 ,:host/deep/   .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd{
    border: 1px solid #061d34;
 }

:host/deep/  tr.ui-widget-content td .ui-widget-content{
    border:1px solid #225080;
 }

:host/deep/ .ui-datatable table{
     border-collapse: collapse;
     width: 100%;
     table-layout: auto;
 }

/* thead */

:host/deep/ .ui-datatable th.ui-state-default{
     color: white;
     /* background-color: #9f9b63; */
     background: rgba(155,145,83,0.6);
 }

:host/deep/ .ui-datatable tbody > tr.ui-widget-content{
     border: 1px solid #555;
 }

:host/deep/ .ui-column-title{
     width: 10px;
     height: 10px;
 }

/* th */

:host/deep/ .ui-widget-content{
     border: 1px solid #555;
     background: rgba(7,97,159, 0.6);
     color: #fff; 
     text-align: center;
 }

:host/deep/ .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd{
     border: 1px solid #555;
     /* background: #064e8b; */
     color: #fff; 
 }

:host/deep/ .ui-datatable .ui-row-toggler {
    color: #fff;
}

/* tfoot */

:host/deep/ .ui-paginator-bottom{
     border: none;
     background: rgba(18,48,100, 0.6);
 }

:host/deep/ .ui-state-default{
     border: #555;
     background:none;
     color: #fff;
 }

:host/deep/ .ui-multiselect-items.ui-multiselect-list .fa-check:before{
    margin-left: 14px;
 }

:host/deep/ .ui-multiselect .ui-multiselect-label{
     color: #000;
 }

:host/deep/ .ui-multiselect-panel .ui-multiselect-item{
     padding: 0;
 }

:host/deep/ .ui-multiselect-panel .ui-multiselect-item label{
     padding-left: 10px;
 }

:host/deep/ .ui-paginator a:not(.ui-state-disabled):not(.ui-state-active):hover{
     background: #fba059;
     color: #fff;
 }

:host/deep/ input,:host/deep/  input.ui-inputtext{
    background: none;
    border:1px solid #fff;
    color: #fff;
}

textarea{
    height: 50px;
    margin-left: 4px;
    padding-left: 2px;
}

button{
   padding: 2px 5px;
   text-align: center;
   background: red;
   border: none;
   color: #fff;
   border-radius: 2px;
}

:host/deep/ .ui-datatable tbody > tr.ui-widget-content.ui-state-highlight
,:host/deep/ .ui-datatable tbody > tr.ui-widget-content.ui-state-highlight.ui-datatable-odd 
,:host/deep/ .ui-datatable tbody.ui-datatable-hoverable-rows > tr.ui-widget-content:hover{
   background-color: #225080;
   color: #FFFFFF;
}

:host/deep/ .ui-datatable tbody > tr.ui-widget-content,:host/deep/ .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd{
   /* background: #334559; */
   background: none;
}

:host/deep/ .ui-grid.ui-grid-responsive.ui-fluid {
   background: #102a45;
   border-bottom: 1px solid #225080;
}

:host/deep/ .ui-grid{
   border:none;
}

:host/deep/ .ui-grid.ui-grid-responsive.ui-fluid input,:host/deep/ .ui-grid.ui-grid-responsive.ui-fluid textarea{
   width: 100%;
   color: #59aec2;
}

:host/deep/ .ui-dialog-footer.ui-widget-content{
   /* background: #fff; */
   color: #000;
   border: none;
}

:host/deep/ .ui-dialog-content.ui-widget-content{
   /* background: #fff; */
   color: #000;
   border:none;
   border-bottom: 1px solid #555;
}

:host/deep/ .ui-chkbox .ui-state-default {
    border: 1px solid #d6d6d6;
    background: #ffffff;
    color: #555555;
}

.ui-grid-col-4,.ui-grid-col-10{
   text-align: left;
   color: #BAF1FF;
}

.ui-grid-row{
   border-bottom: 1px solid #225080;
   line-height: 30px;
}

.ui-grid-col-2{
   text-align: right;
}

.ui-grid-col-11{
    text-align: left;
}

:host/deep/ .ui-datatable table {
    
    table-layout: fixed;
}

:host/deep/ .ui-datatable table tr td,:host/deep/ .ui-datatable table tr th{
    overflow: hidden;
    text-overflow: ellipsis;
}

:host/deep/ .table .ui-datatable table tr td:nth-child(1),:host/deep/ .table .ui-datatable table tr th:nth-child(1){
    width: 30px;
}

:host/deep/ .table2 .ui-datatable table tr td:nth-child(1),:host/deep/ .table2 .ui-datatable table tr th:nth-child(1){
    width: 6%;
}

:host/deep/ .ui-datatable table tr td:nth-child(2),:host/deep/ .ui-datatable table tr th:nth-child(2){
    width: 6%;
}

:host/deep/ .ui-datatable table tr td:nth-child(3),:host/deep/ .ui-datatable table tr th:nth-child(3){
    width: 9%;
}

:host/deep/ .ui-datatable table tr td:nth-child(7),:host/deep/ .ui-datatable table tr th:nth-child(7){
    width: 120px;
}

:host/deep/ .ui-datatable table tr td:nth-child(10),:host/deep/ .ui-datatable table tr th:nth-child(10),
:host/deep/ .ui-datatable table tr td:nth-child(9),:host/deep/ .ui-datatable table tr th:nth-child(9),
:host/deep/ .ui-datatable table tr td:nth-child(4),:host/deep/ .ui-datatable table tr th:nth-child(4)
{
    width: 10%;
}

:host/deep/ .ui-datatable table tr td:nth-child(8),:host/deep/ .ui-datatable table tr th:nth-child(8){
    width: 12%;
}

:host/deep/ .ui-datatable table tr td:nth-child(5),:host/deep/ .ui-datatable table tr th:nth-child(5),
:host/deep/ .ui-datatable table tr td:nth-child(6),:host/deep/ .ui-datatable table tr th:nth-child(6){
    width: 16%;
}

textarea{
    resize:none
}

.button{
    color: #000;
    background: #91cdff;
    width:58px;
    height: 30px;
    border:none;
    line-height: 30px;
    cursor: pointer;
}

/* select{
    width: 40px;
    height: 30px;
    background: rgba(9,29,69,0.7);
    color: #fff;
    border: 1px solid #91cdff;
    vertical-align: -1px;
    margin: 0 5px;
} */

input[type="number"]{
    display: inline-block;
    width: 40px;
    height: 30px;
    text-align: center;
    background: rgba(9,29,69,0.7);
    color: #fff;
    border: 1px solid #91cdff;
    margin: 0 5px;
}

/* 时间控件样式 */

:host/deep/ .ui-inputtext{
    background: transparent;
    color:#fff;
}

:host/deep/ .ui-multiselect-label.ui-corner-all{
    background:none;
    color: #fff;
}

:host/deep/ .ui-multiselect-label-container{
    border: 1px solid #fff;
    border-radius: 3px;
}

:host/deep/ .ui-multiselect:not(.ui-state-disabled):hover{
    border-color: #fff;
    background: none;
    color: #fff;
}

:host/deep/ .ui-multiselect-filter-container input{
    color: #000;
}
